package zack.gateway.center.infrastructure.dao;

import org.apache.ibatis.annotations.Mapper;
import zack.gateway.center.domain.operation.model.vo.GatewayDistributionDataVO;
import zack.gateway.center.infrastructure.common.OperationRequest;
import zack.gateway.center.infrastructure.po.GatewayDistribution;

import java.util.List;

/**
 * @author   zack
 * @description 网关分配
   */
@Mapper
public interface IGatewayDistributionDao {

    List<String> queryGatewayDistributionSystemIdList(String gatewayId);

    String queryGatewayDistributionBySystemId(String systemId);



    List<GatewayDistribution> queryGatewayDistributionListByPage(OperationRequest<GatewayDistributionDataVO> request);

    int queryGatewayDistributionListCountByPage(OperationRequest<GatewayDistributionDataVO> request);

    void insert(GatewayDistribution gatewayDistribution);
}
